﻿using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities;

/// <summary>
/// 文档
/// </summary>
[Table("Documents")]
public partial class Document : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 标题
    /// </summary>
    public string? Title { get; set; }

    /// <summary>
    /// 保存路径
    /// </summary>
    public string? Path { get; set; }

    /// <summary>
    /// 文档内容
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    /// 摘要
    /// </summary>
    public string? Summary { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public JobStatus Status { get; set; }

    /// <summary>
    /// 删除标识
    /// </summary>
    public bool? IsDeleted { get ; set ; }
}
